import request from '@/utils/request.js'; // 引入封装的方法

// 查询提成概况
export function getRewardSummary(data) {
	return request({
	    url: "/teamsumm/getRewardSummary",
	    method: "get",
	    data,
	});
}

// 查询提成记录
export function getRewardSummaryRecord(data) {
	return request({
	    url: "/teamsumm/getRewardSummaryRecord",
	    method: "get",
	    data,
	});
}

// 查询团队业绩
export function getPerformance(data) {
	return request({
	    url: "/teamsumm/getPerformance",
	    method: "get",
	    data,
	});
}

// 查询团队概况
export function getJuniorSummary(data) {
	return request({
	    url: "/teamsumm/getJuniorSummary",
	    method: "get",
	    data,
	});
}

// 查询团队会员
export function getCascadeJunior(data) {
	return request({
	    url: "/teamsumm/getCascadeJunior",
	    method: "get",
	    data,
	});
}